package com.holly.unit.deform.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.holly.unit.db.api.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 类描述: 表单设计器模板表
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/4/7 10:24
 */
@Data
@TableName("design_form_templet")
@EqualsAndHashCode(callSuper = false)
public class DesignFormTemplet extends BaseEntity {

    /**模板JSON*/
    @ExcelProperty(value = {"模板JSON"}, index = 4)
    @TableField("TEMPLET_JSON")
    private Object templetJson;
    /**模板名称*/
    @ExcelProperty(value = {"模板名称"}, index = 5)
    @TableField("TEMPLET_NAME")
    private String templetName;
    /**模板编码*/
    @ExcelProperty(value = {"模板编码"}, index = 6)
    @TableField("TEMPLET_CODE")
    private String templetCode;
    /**ID*/
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

}
